package Libs
{

    public class Global extends Object
    {
        public static const XMLSRC:String = "mapdata.xml";
		public static const HERO_COLOR:uint = 0xFFFF00;
		public static const THIEF_COLOR:uint = 0xCCFF00;
		
        public static const BACKGROUND_GROUND:int = 0;
        public static const BACKGROUND_TREE:int = 1;
        public static const BUILDING_NULL:int = 0;
        public static const BUILDING_FLAT:int = 1;
        public static const BUILDING_ROUND:int = 2;
        public static const BUILDING_PEACE:int = 3;
        public static const ITEM_NULL:int = 0;
        public static const ITEM_MONEY:int = 1;
        public static const GROUND_BLOCK_SIZE:int = 80;
        public static const GROUND_BLOCK_COLOR_1:int = 14348543;
        public static const GROUND_BLOCK_COLOR_2:int = 14348543;
        public static const SCREEN_WIDTH:int = 640;
        public static const SCREEN_HEIGHT:int = 480;
        public static const GROUND_FOCAL:int = 800;
        public static const EDGE_WIDTH:int = 160;
        public static const JUMP_DISTANCE:int = 40;
        public static const DELAY_DISTANCE:int = 120;
        public static const W_KEY:int = 83;
        public static const S_KEY:int = 87;
        public static const A_KEY:int = 68;
        public static const D_KEY:int = 65;
        public static const BLANK_KEY:int = 32;
        public static const MOVE_STEP:int = 8;
        public static const Quick_Move_STEP:int = 20;
        public static const JUMP_STEP:int = 10;
        public static const RENDER_TL:int = 1;
        public static const RENDER_TR:int = 2;
        public static const RENDER_BL:int = 3;
        public static const RENDER_BR:int = 4;
        public static const LEG_STEP:int = 15;
        public static const MOVE_STEP_SQ:Number = 2.8284;
        public static const W_MASK:Object = 1;
        public static const S_MASK:Object = 2;
        public static const A_MASK:Object = 4;
        public static const D_MASK:Object = 8;
        public static const PLAYER_WIDTH:int = 45;
        public static const CONN_PORT:int = 1139;
        public static const CONN_HOST:String = "localhost";
        public static const LOGIN_REQUEST:int = 16;
        public static const VERSION:int = 4;
        public static const MAX_MESSAGE_LENGTH:int = 65535;
        public static const MAX_PAYLOAD_LENGTH:int = 65532;
        public static const LOGIN_SUCCESS:int = 17;
        public static const LOGIN_FAILURE:int = 18;
        public static const LOGIN_REDIRECT:int = 19;
        public static const RECONNECT_REQUEST:int = 32;
        public static const RECONNECT_SUCCESS:int = 33;
        public static const RECONNECT_FAILURE:int = 34;
        public static const SESSION_MESSAGE:int = 48;
        public static const LOGOUT_REQUEST:int = 64;
        public static const LOGOUT_SUCCESS:int = 65;
        public static const CHANNEL_JOIN:int = 80;
        public static const CHANNEL_LEAVE:int = 81;
        public static const CHANNEL_MESSAGE:int = 82;

        public function Global()
        {
            return;
        }// end function

    }
}
